package com.paper.tiger.datasource.common;

/**
 * [简要描述]:
 * [详细描述]:
 *
 * @author ZouHaiBo
 * @version 1.0, 2021/5/19 11:24
 * @since JDK 1.8
 */
public class DataSourceConfig
{
    /**用户名*/
    private String username;

    /**密码*/
    private String password;

    /**连接url*/
    private String url;

    /**驱动*/
    private String driver;


    public String getDriver()
    {
        return driver;
    }

    public void setDriver(String driver)
    {
        this.driver = driver == null ? null : "".equals(driver.trim()) ? null : driver.trim();
    }

    public String getUsername()
    {
        return username;
    }

    public void setUsername(String username)
    {
        this.username = username == null ? null : "".equals(username.trim()) ? null : username.trim();
    }

    public String getPassword()
    {
        return password;
    }

    public void setPassword(String password)
    {
        this.password = password == null ? null : "".equals(password.trim()) ? null : password.trim();
    }

    public String getUrl()
    {
        return url;
    }

    public void setUrl(String url)
    {
        this.url = url == null ? null : "".equals(url.trim()) ? null : url.trim();
    }
}
